from fdfs_client.client import Fdfs_client # 1. 导入FastDFS客户端扩展
client = Fdfs_client('client.conf') # 2. 创建FastDFS客户端实例
ret = client.upload_by_filename('/home/python/Desktop/scenery.png')
print(ret)
